<template>
  <div>
    <!-- 自定义宽高比改变大小   宽高比13:9-->
    <div class="noResultBox" :style="{width: width+'px',height:(width / 13) * 9 +'px',marginTop:mt+'px'}">
      <p :style="{bottom:(width / 13)+'px',fontSize:fontSize+'px'}">暂无相关结果</p>
    </div>
  </div>
</template>
<script>
export default {
  props: {
    width:{
      type:Number,
      default:260
    },
    fontSize:{
      type: Number,
      default: 14
    },
    mt:{
      type: Number,
      default: 30
    }
  },
  data() {
    return {};
  },
};
</script>
<style lang="scss" scoped>
.noResultBox {
  margin: 30px auto;
  text-align: center;
  background: url("~@/assets/portal/noRealt.png") no-repeat;
  background-size: 100% 100%;
  position: relative;
  p{
    margin: 0;
    font-weight: bold;
    font-size: 14px;
    color: #222222;
    position: absolute;
    //bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
  }
}
</style>
